﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Xem_In_Diem.aspx.cs" Inherits="QuanLyDiemHocSinh.Xem_In_Diem1" %>
<%@ Register src="Controls/Khung_Dang_Nhap.ascx" tagname="Khung_Dang_Nhap" tagprefix="uc1" %>
<%@ Register src="Controls/Menu_Trai_Hs.ascx" tagname="Menu_Trai_Hs" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style3 {
            width: 256px;
        }
        .auto-style4 {
            width: 223px;
        }
        .auto-style5 {
            width: 325px;
        }
        .current {
            width: 1008px;
            margin-right: 0px;
        }
        .auto-style6 {
            width: 672px;
            height: 22px;
        }
        .auto-style7 {
            width: 100%;
        }
        .auto-style8 {
            width: 197px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="auto-style3">
        <tr>
            <td class="auto-style4" rowspan="2">&nbsp;</td>
            <td>
                <table class="current">
                    <tr>
                        <td class="auto-style6">&nbsp;</td>
                        <td>
                            <uc1:Khung_Dang_Nhap ID="Khung_Dang_Nhap1" runat="server" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table class="auto-style7">
                    <tr>
                        <td class="auto-style8">
                            <uc2:Menu_Trai_Hs ID="Menu_Trai_Hs1" runat="server" />
                        </td>
                        <td>
                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4">
                                <Columns>
                                    <asp:BoundField DataField="MaLoaiDiem" HeaderText="Loại điểm" SortExpression="MaLoaiDiem" />
                                    <asp:BoundField DataField="MaMonHoc" HeaderText="Môn học" SortExpression="MaMonHoc" />
                                    <asp:BoundField DataField="MaHocKy" HeaderText="Học kỳ" SortExpression="MaHocKy" />
                                    <asp:BoundField DataField="MaNamHoc" HeaderText="Năm học" SortExpression="MaNamHoc" />
                                    <asp:BoundField DataField="Diem" HeaderText="Điểm" SortExpression="Diem" />
                                </Columns>
                                <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                                <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                                <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                                <RowStyle BackColor="White" ForeColor="#003399" />
                                <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                <SortedAscendingCellStyle BackColor="#EDF6F6" />
                                <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                                <SortedDescendingCellStyle BackColor="#D6DFDF" />
                                <SortedDescendingHeaderStyle BackColor="#002876" />
                            </asp:GridView>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:QuanLyDiemConnectionString %>" SelectCommand="SELECT * FROM [BangDiemCon] WHERE ([MaHocSinh] = @MaHocSinh) ORDER BY [MaHocKy]">
                                <SelectParameters>
                                    <asp:SessionParameter Name="MaHocSinh" SessionField="tendn" Type="String" />
                                </SelectParameters>
                            </asp:SqlDataSource>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
